<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html><head>
<title>driver</title>
</head><body>
<p>[<a href="mxdoc.htm">mainpage</a>]
[<a href="tags.htm">tags</a>]<br>
<h1><a name="driver">module: driver</a></h1><p>Graphics mode and driver information

This module contains DEGFX graphics mode and driver information.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<p>Part of the <a href="degfx.htm">degfx</a> library.<ul><li>
<a name="MX_GFX_ARGS"><code>MX_GFX_ARGS</code></a>
<p>
<p><b>Graphic driver information</b><p>
    The basic graphic driver arguments and parameters.
    All elements can be replaced with 0 and a default choice will be made.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)
<p>member: <b>
                int w, h, c;</b> The graphics width, height and color depth in bits.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)
<p>member: <b>
                const char *title;</b> The title of the graphics window (for windowed modes)  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)
<p>member: <b>
                struct MX_BITMAP *buffer;</b> The buffer used for redrawing.  Larger buffers mean more 
                efficient redraws at the cost of more memory.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)
<p>member: <b>
                const struct MX_DRIVER *driver;</b> The requested driver.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)
<p>member: <b>
                MX_REDRAW_FUNC redraw;</b> The redraw function.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)
<p>member: <b>
                MX_RECT screen;</b> The area of the graphics screen.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)
<p>member: <b>
                unsigned int session;</b> The session counter is incremented every time the graphics
                mode is changed.  Keeping track of the session number you can
                check if the graphics mode has been changed.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)
<p>member: <b>
         MX_BITFIELD(pointer);</b> The pointer field is non-zero if the platform draws it's 
                own mouse.   
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<p></li>
<li>
<a name="define mx_driver_fullscreen"><code>#define mx_driver_fullscreen</code></a>
<p>
<p>The fullscreen driver.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<p></li>
<li>
<a name="define mx_driver_windowed"><code>#define mx_driver_windowed</code></a>
<p>
<p>The windowed driver.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<p></li>
<li>
<a name="define mx_driver_vga"><code>#define mx_driver_vga</code></a>
<p>
<p>The vga driver.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<p></li>
<li>
<a name="define mx_driver_13h"><code>#define mx_driver_13h</code></a>
<p>
<p>The mode 13h driver.  
(<a href="../include/degfx/driver.h">../include/degfx/driver.h</a>)<p></li>
</ul><p>Generated by <a href="http://www.deleveld.dds.nl/mxdoc/index.htm">MXDOC</a> 2.2 on Sun Feb  4 15:16:26 2007


</body></html>
